package main

import "fmt"

/**
 * 1、常量的定义
 * 2、使用 const 定义常量
 * 3、常量一般小写
 */
func constant() {
	const name = "张三"

	const (
		age          int = 25
		sex, address     = "男", "湖北黄冈"
	)

	fmt.Println("name =", name)
	fmt.Println("sex =", sex)
	fmt.Println("address =", address)
}

func main() {

	constant()
}
